Einhugur GraphicsFormats Plugin for Objo

Einhugur.GraphicsFormats.RawPngExporter Class

A class to Export RawBitmap’s to a PNG format. The result can be written to a File or Bytes buffer.

This class uses RawBitmap that is defined in the RawBitmap package instead of Objo Pictures.

This class will also include ICC Color Profile if the RawBitmap had ICC Color profile on it.

The RawPngExporter can export images with either 8 bit per channel or 16 bit per channel, maintaining full precision.

This class is in the einhugur.graphicsformats.png assembly.

Object
   Einhugur.GraphicsFormats.RawPngExporter

class Einhugur.GraphicsFormats.RawPngExporter

Constructors

Einhugur.GraphicsFormats.RawPngExporterConstructor that takes no parameters.

Properties

AuthorWrites to the Author metadata field which is for name of image's creator
CompressionLevelSets compression level (0 - 9)
CopyrightWrites to the Copyright metadata field which is for copyright information of the image
DescriptionWrites to the Description metadata field which is for image description
DisclaimerWrites to the Disclaimer metadata field which is for disclaimer information of the image
GammaUse this property to alter the default Gamma values for the Export.
IgnoreAlphaChannelIf set to true then the alpha channel in a image is not imported if the image has an alpha channel.
InformationShared property to get information about the file format.
SoftwareWrites to the Software metadata field which is for software used to create the image
SourceWrites to the Source metadata field which is for source information of the image
TitleWrites to the Title metadata field which is for short one line title for image
WarningWrites to the Warning metadata field which is for warning information of the image

Methods

DisposeReleases unmanaged resources used by the RawPngExporter class.
SaveToFileExports a RawBitmap to a PNG file.
SaveToMemoryBlockExports a picture formatted as PNG to a MemoryBlock.

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 64 bit
  • Linux ARM 64 bit